//
//  EMMHousingCell.h
//  EMMApp
//
//  Created by Mac on 16/6/30.
//  Copyright © 2016年 YiXun. All rights reserved.
//

#import <UIKit/UIKit.h>

/** EMMHousingCell
 *
 *  EMMHousingCell 房源界面cell
 **/
@protocol DateCollectionViewCellDelegate <NSObject>

@optional

- (void)didSelectedTableview:(NSInteger )index withcollecttion:(NSIndexPath *)collectionindex;

@end

@interface EMMHousingCell : UITableViewCell <UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>
@property (assign, nonatomic) id<DateCollectionViewCellDelegate> delegate;

/**
 * cell头部View
 */
@property (strong, nonatomic) IBOutlet UIView *viewONe;

/**
 *  cell头部title名称
 */
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;

/**
 *  cell头部已售名称
 */
@property (strong, nonatomic) IBOutlet UILabel *ysNameLabel;

/**
 *  cell头部已售数量
 */
@property (strong, nonatomic) IBOutlet UILabel *ysNumLabel;

/**
 *  cell头部未售名称
 */
@property (strong, nonatomic) IBOutlet UILabel *ksNameLabel;

/**
 *  cell头部数量
 */
@property (strong, nonatomic) IBOutlet UILabel *kyNumLabel;

/**
 *  cell-UICollectionView创建
 */
@property (nonatomic, strong) UICollectionView *homeCollectionView;

/** ViewController界面传值方法
 *  mArr 数组
 *  indexNum 标记
 */
- (void)initWithNSMutableArray:(NSMutableArray *)mArr indexNum:(NSInteger)indexNum;

@end
